#ifndef CONFIGURE_H
#define CONFIGURE_H
#include<string>
using std::string;
const int MAXRECORDS_PER_SIFTGEO = 50000;
const int SIFTGEO_FEATURE_SIZE = 168;
const int SIFT_DIM = 128;
const int HAMMING_DIM = 64;
const int LEXICON_SIZE = 5000;
const int BLOCK_RECORD_SIZE = 2*sizeof(int) + HAMMING_DIM*sizeof(float);
const int BLOCKRECORD_BUFFER_SIZE = 512000000;
const int MAXRECORDS_PER_BLOCK = BLOCKRECORD_BUFFER_SIZE / BLOCK_RECORD_SIZE;


const int BLOCKREADER_BUFFER_SIZE = 512000000;

const size_t MAXSIZE_PER_POSTINGFILE = 512000000;
const int MAXRECORD_PER_POSTINGFILE = MAXSIZE_PER_POSTINGFILE / (2*sizeof(int) + HAMMING_DIM*sizeof(float));

const string SIFTGEO_PATH = "/home/cvhadoop/imr/siftgeo/";
const string BLOCK_PATH = "/home/cvhadoop/imr/blocks/";
const string CLUST_PATH = "/home/cvhadoop/imr/centroid/centroid5000r128c.mat";
const string HASHCLUST_PATH = "/home/cvhadoop/imr/centroid/hashclust.mat";
const string HAMATRIX_PATH = "/home/cvhadoop/imr/hamatrix/hamatrix128r64c.mat";
const string POSTING_PATH = "/home/cvhadoop/imr/posting/";

const int MAX_HAMMING_DISTANCE = 32;

const string HTML_PATH = "/home/cvhadoop/imr/html/";
const string IMAGE_PATH = "/home/cvhadoop/imr/jpg/";


#endif
